package com.example.demo.service;

import com.example.demo.controller.bean.Result;
import com.example.demo.dto.TaskRequestDTO;
import com.example.demo.mapper.entity.Student;
import com.example.demo.mapper.entity.Task;
import com.example.demo.utils.PageBo;
import com.example.demo.utils.PageVo;
import com.example.demo.utils.TreeBo;

import java.util.List;

public interface TaskManageService {
    PageVo<Task> getTaskList(PageBo pageBo);

    List<Task> searchTask(TaskRequestDTO request);

    Result<String> addTask(TaskRequestDTO request);

    Result<String> deleteTask(Task task);

    void batchDeleteTask(List<Task> taskList);

    int getTotalStudent();

    int getTotalQuestions(int bankId);

    int getCollegeStudent(int collegeId);

    int getMajorStudent(int majorId);

    int getClassStudent(int clazz);

    int getStudent(String studentNumber);
}
